package nzb;

public class Segment {
	
	private Long	bytes;
	private	Number	number;
	private	String	id;
	
	public Segment(Long bytes, Number number) {
		super();
		this.bytes = bytes;
		this.number = number;
	}
	
	public Long getBytes() {
		return bytes;
	}
	public void setBytes(Long bytes) {
		this.bytes = bytes;
	}
	public Number getNumber() {
		return number;
	}
	public void setNumber(Number number) {
		this.number = number;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void addToId(String idPart) {
	    	this.id += id;
	}
	
	@Override
	public String toString() {
		return "Segment [bytes=" + bytes + ", number=" + number + ", id=" + id
				+ "]";
	}
}
